﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp13
{
    class Program
    {
        //2、猫、狗、鸭、猴，（吃、游泳、爬树）
        static void Main(string[] args)
        {
            Cat C = new Cat("猫");
            C.Climb();
            C.PrintEat();


            Console.WriteLine("------------------------------------------");

            Monkey Mk = new Monkey("猴子");
            Mk.Climb();
            Mk.PrintEat();


            Console.WriteLine("------------------------------------------");

            Dog D = new Dog("小奶狗");
            D.Swim();
            D.PrintEat();


            Console.WriteLine("------------------------------------------");

            Duck Dk = new Duck("唐老鸭");
            Dk.Swim();
            Dk.PrintEat();


        }
    }
}
